package smlab.events
{
	import flash.events.Event;

	/**
	 * 队列加载事件
	 * @author simon
	 * 
	 */
	public class LoadListEvent_SM extends Event
	{
		public function LoadListEvent_SM(type:String=PROGRESS, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
		public static const COMPLETE_ONE_OF_ALL:String='complete_one_of_all';
		public static const COMPLETE:String='complete';
		public static const PROGRESS:String='progress';
		public static const OPEN:String='open';
		public static const ERROR:String='error';
		
		/**
		 * 加载对象总大小
		 */
		public var bytesLoaded:Number;
		
		/**
		 * 已加载的字节数
		 */
		public var bytesTotal:Number;
		
		/**
		 * 加载资源总个数
		 */
		public var totalResourceNum:Number;
		
		/**
		 * 当前加载到第几个资源
		 */
		public var currentResourceIndex:Number;
		
	}
}